/***************************************************************************
 *                                                                         *
 *   This file is part of the CrystalMem project,                          *
 *       http://code.google.com/p/crystalmem                               *
 *                                                                         *
 *   Copyright (C) 2008 by Alberto Scarpa <scarpa.alberto@gmail.com>       *
 *   Copyright (C) 2008 by Enrico Ros <enrico.ros@gmail.com>               *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#include <QApplication>
#include "MemoryTree.h"
#include "MemoryView.h"
#include "TreeBuilder.h"

int main(int argc, char ** args )
{
    // start the app here
    QApplication app( argc, args );
    MemoryTree * memTree = new MemoryTree();
    TreeBuilder * builder = new TreeBuilder( memTree );
    MemoryView * memView = new MemoryView( memTree, 0 );
    memView->show();
    int retCode = app.exec();
    delete memView;
    delete builder;
    delete memTree;
    return retCode;
}

